//
//  HomeEightCollectionViewCell.m
//  CommunitySupermarketProiect
//
//  Created by 吕惠卿 on 2017/10/12.
//  Copyright © 2017年 吕惠卿. All rights reserved.
//

#import "HomeEightCollectionViewCell.h"

@implementation HomeEightCollectionViewCell
-(id)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self creatUI];
    }
    return self;
}
-(void)creatUI{
    _label = [[UILabel alloc]init];
    _label.backgroundColor = LineColor;
    _label.textAlignment = NSTextAlignmentCenter;
    [self.contentView addSubview:_label];
    [_label mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self.mas_left).with.offset(0);
        make.right.equalTo(self.mas_right).with.offset(0);
        make.top.equalTo(self.mas_top).with.offset(0);
        make.bottom.equalTo(self.mas_bottom).with.offset(0);
    }];
}

@end
